//
//  OtherServiceCell.m
//  UHealth
//
//  Created by gjtxz on 15/1/6.
//  Copyright (c) 2015年 gjtx. All rights reserved.
//

#import "OtherServiceCell.h"

@implementation OtherServiceCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)setData:(NSDictionary *)dataDict
{
    NSString *imgStr                = dataDict[@"imglStr"];
    NSString *serviceLabelStr       = dataDict[@"serviceLabelStr"];
    NSString *detailLabelStr         = dataDict[@"detailLabelStr"];
    NSString *costLabelStr          = dataDict[@"costLabelStr"];
    NSString *scanLabelStr          = dataDict[@"scanLabelStr"];
    
    self.img.image                  = [UIImage imageNamed:imgStr];
    self.serviceLabel.text          = serviceLabelStr;
    self.detailLabel.text           = detailLabelStr;
    self.costLabel.text             = costLabelStr;
    self.scanLabel.text             = scanLabelStr;
}
@end
